// components/NavBar/NavBar.js
const app = getApp()
var list = [{
    title: '物流公司名称',
    name: '立减优惠券',
    value: '10',
    endAt: '2021-09-30'
}]

Component({
    options: {
        multipleSlots: true
    },
    data: {

    },

    properties: {
        show: {
            type: Boolean,
            value: false
        },
        title: {
            type: String,
            value: '新人礼包'
        },
        subtitle: {
            type: String, // light - dark - white
            value: '优惠券已自动放到卡包里',
        },
        list: {
            type: []
        }

    },

    lifetimes: {

    },

    methods: {
        onClickShow() {
            this.setData({ show: true });
        },

        onClickHide() {
            this.setData({ show: false });
        },
    }
})